package cn.yitun.chat.yitunserverimbase.dao.common;

import cn.yitun.chat.yitunservercommonlib.dataentity.po.common.GeneratorInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 代码生成mapper
 */
@Mapper
public interface GeneratorMapper {

	List<Map<String, Object>> list();

	List<Map<String, Object>> page(Map<String, Object> params);

	int count(Map<String, Object> map);

	Map<String, String> get(String tableName);

	List<Map<String, String>> listColumns(String tableName);

	GeneratorInfo getGeneParam(String id);

	int updateGeneParam(Map<String, Object> map);
}
